package hhm.javamode.decorator;

import hhm.javamode.base.adduser.IUserService;
import hhm.javamode.base.adduser.UserServiceImpl;

public abstract class UserServiceDecorator implements IUserService {
	private UserServiceImpl userServiceImpl;

	public void setUserServiceImpl(UserServiceImpl userServiceImpl) {
		this.userServiceImpl = userServiceImpl;
	}

	@Override
	public void addUser(String userId, String userName) {

		userServiceImpl.addUser(userId, userName);
	}

}
